/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package rule;

/**
 *
 * @author livia
 */
public class ConceptSeg implements RuleSegment {
    String name;
    String instance;

    public ConceptSeg(String conceptName, String instanceName) {
        this.name = conceptName;
        this.instance = instanceName;
    }

    public String getName() {
        return  name;
    }

    public String getInstanceName(){
        return instance;
    }
    
    public String toString(){
		return name+"("+instance+")";    	
    }
}
